// stores/counter.js
import { defineStore } from 'pinia';

export const userInfoStore = defineStore('userInfo', {
	state: () => {
		return { count: 0 };
	},
	// state: () => ({ count: 0 })
	actions: {
		increment() {
			this.count++;
		},
	},
});